package com.cskaoyan.market.service;

import com.cskaoyan.market.db.domain.MarketCoupon;
import com.cskaoyan.market.db.domain.MarketCouponUser;

import java.util.List;

public interface AdminCouponService {
    List<MarketCoupon> list (String page, String limit, String sort, String order,String name,String  type,String  status);

    MarketCoupon read(String id);

    List<MarketCouponUser> couponlist(String page, String limit, String sort, String order, String couponId, String userId, String status);


    Integer addCoupon(MarketCoupon marketCoupon);

    Integer updateCoupon(MarketCoupon marketCoupon);

    Integer deleteCoupon(MarketCoupon marketCoupon);
}
